package com.stu.dao;

import com.stu.pojo.User;

/**
 * @author zy
 * @date 2025/3/28
 */
public class UserDaoImpl implements IUserDao{
    private User user;

    private UserDaoImpl() {
        System.out.println("UserDaoImpl的构造方法");
    }

    public void setUser(User user){
        this.user = user;
    }
    @Override
    public int deleteById(int id) {
        System.out.println("删除id为"+id+"的User");
        return id;
    }
}
